﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddFood.aspx.cs" Inherits="SZCB.admin.FoodManager.AddFood" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>添加食品</title>
    <link href="../sysImages/default/css/css.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" type="text/javascript" src="../configuration/js/Prototype.js"></script>
    <script language="JavaScript" type="text/javascript" src="../configuration/js/Public.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="toptable">
        <tr>
            <td width="57%" class="sysmain_navi" style="padding-left: 14px" height="30">
                添加食品
            </td>
            <td width="43%" class="topnavichar" style="padding-left: 14px">
                <div align="left">
                    位置导航：<a href="../admin.aspx" target="sys_main" class="list_link">首页</a><img alt=""
                        src="../sysImages/folder/navidot.gif" border="0" /><a href="FoodList.aspx" target="sys_main"
                            class="list_link">食品管理</a><img alt="" src="../sysImages/folder/navidot.gif" border="0" />添加食品</div>
            </td>
        </tr>
    </table>
    <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF"
        class="table">
        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                食品名称
            </td>
            <td colspan="2" align="left">
              <asp:TextBox ID="txtName" runat="server"></asp:TextBox>&nbsp;<span style="color: Red;">*</span>&nbsp; 
               &nbsp;
                 &nbsp;

            </td>

        </tr>
        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                食品大类
            </td>
            <td colspan="2" align="left">
                <asp:DropDownList ID="ddlContentClass" runat="server" OnSelectedIndexChanged="ddlContentClass_SelectedIndexChanged"
                    AutoPostBack="true">
                </asp:DropDownList>
                
            </td>
        </tr>
        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                食品小类
            </td>
            <td colspan="2" align="left">
                <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                    AutoPostBack="true">
                </asp:DropDownList>
                
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                产品单元
            </td>
            <td colspan="2" align="left">
                <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="true">
                </asp:DropDownList>
                
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                生产企业
            </td>
            <td colspan="2" align="left">
                <asp:DropDownList ID="ddEnterpriseList" runat="server"  AutoPostBack="true">
                </asp:DropDownList>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                产品描述
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="ProductTxt" runat="server" Height="59px" Width="249px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                产品类型
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="ProductTypetxt" runat="server" Width="249px"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                配料表
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="PeiLiaoTxt" runat="server" Height="59px" Width="249px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                保质期
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="QualityTxt" runat="server"  Width="249px"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                产地
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="FiledTxt" runat="server" Height="59px" Width="249px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                通过认证
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="RenZhengTxt" runat="server"  Width="249px"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                产品标准号
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="ProductCodeTxt" runat="server"  Width="249px"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                食用/储藏方法
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="StoreTxt" runat="server" Height="59px" Width="249px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                价格
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                规格
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="txtSpecification" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                单位
            </td>
            <td colspan="2" align="left">
               <asp:TextBox ID="txtUnit" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                商品图片一
            </td>
            <td colspan="2" align="left">
               <div>
                    <p style=" color:#b22c46; font-size:14px;">(温馨提示：请上传200K以内的jpg. gif. png格式的图片)</p>
                    <asp:Image ID="idCoverPhoto" runat="server" Height="160px" Width="120px" />
                </div>
                <asp:FileUpload ID="FileUpload1" runat="server" Width="200" /><span style="margin-left:20px;"></span>
                <asp:Button ID="ButtonImage1" runat="server" Text="开始上传" OnClick="ButtonImage1_Click" Width="80" Height="25" />
            </td>
        </tr>


        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                商品图片二
            </td>
            <td colspan="2" align="left">
               <div>
                    <p style=" color:#b22c46; font-size:14px;">(温馨提示：请上传200K以内的jpg. gif. png格式的图片)</p>
                    <asp:Image ID="idCoverPhoto1" runat="server" Height="160px" Width="120px" />
                </div>
                <asp:FileUpload ID="FileUpload2" runat="server" Width="200" /><span style="margin-left:20px;"></span>
                <asp:Button ID="Button2" runat="server" Text="开始上传" OnClick="ButtonImage2_Click" Width="80" Height="25" />
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                商品图片三
            </td>
            <td colspan="2" align="left">
               <div>
                    <p style=" color:#b22c46; font-size:14px;">(温馨提示：请上传200K以内的jpg. gif. png格式的图片)</p>
                    <asp:Image ID="idCoverPhoto3" runat="server" Height="160px" Width="120px" />
                </div>
                <asp:FileUpload ID="FileUpload3" runat="server" Width="200" /><span style="margin-left:20px;"></span>
                <asp:Button ID="Button3" runat="server" Text="开始上传" OnClick="ButtonImage3_Click" Width="80" Height="25" />
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                商品图片四
            </td>
            <td colspan="2" align="left">
               <div>
                    <p style=" color:#b22c46; font-size:14px;">(温馨提示：请上传200K以内的jpg. gif. png格式的图片)</p>
                    <asp:Image ID="idCoverPhoto4" runat="server" Height="160px" Width="120px" />
                </div>
                <asp:FileUpload ID="FileUpload4" runat="server" Width="200" /><span style="margin-left:20px;"></span>
                <asp:Button ID="Button4" runat="server" Text="开始上传" OnClick="ButtonImage4_Click" Width="80" Height="25" />
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
                商品条形码
            </td>
            <td colspan="2" align="left">
               <div>
                    <p style=" color:#b22c46; font-size:14px;">(温馨提示：请上传200K以内的jpg. gif. png格式的图片)</p>
                    <asp:Image ID="idCoverPhoto5" runat="server" Height="160px" Width="120px" />
                </div>
                <asp:FileUpload ID="FileUpload5" runat="server" Width="200" /><span style="margin-left:20px;"></span>
                <asp:Button ID="Button5" runat="server" Text="开始上传" OnClick="ButtonImage5_Click" Width="80" Height="25" />
            </td>
        </tr>

        <tr class="TR_BG_list">
            <td width="13%" align="center" class="navi_link" style="width: 15%">
            </td>
            <td colspan="2" align="left">
                  <asp:Button ID="Button1" runat="server" Text="提交" OnClick="btnSave_Click" />

            </td>
        </tr>

    </table>
    <br />
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="copyright_bg"
        style="height: 76px" align="center">
        <tr>
            <td align="center">
                版权所有 Powered by <a href="#" target="_blank" class="a07">健康益佰分</a>
                &copy 2011-2020
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
